package com.wcbtest.dem02.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "SSH连接配置")
public class SshConfig {

    @ApiModelProperty(value = "主机名或IP地址", example = "192.168.110.130")
    private String host;

    @ApiModelProperty(value = "端口号", example = "22")
    private int port = 22;

    @ApiModelProperty(value = "用户名", example = "root")
    private String username;

    @ApiModelProperty(value = "密码",example = "123456")
    private String password;

    @ApiModelProperty(value = "私钥路径", example = "/path/to/private_key")
    private String privateKeyPath;

    @ApiModelProperty(value = "私钥密码", example = "your_private_key_password")
    private String privateKeyPassphrase;
}    